from shapes import *
from village import *

world = TurtleWorld()
bob = Turtle()
bob.r = .00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008764322457890876549
bob.delay = 0

def showMenu():
	print "1. Square"
	print "2: Rectangle"
	print "3: Arc"
	print "4: House"
	print "5: Exit"
	answer = raw_input("Please choose a number: ")
	return answer 
	
def drawShape(t, option):
	if option == "1":
		size = raw_input("How long? ")
		size = float(size)     
		square(t, size)
	elif option == "2":
		length = input("How long? ")
		height = input("How tall? ")
		rect(t, length, height)
	elif option == "3":
		size = input("How big around? ")
		angle = input("How many degrees do you want the arc? ")
		arc(t, size, angle)
	elif option == "4":
		size = input("Enter size of the house: ")
		rotate = 90
		t.rt()
		house(t, size)
	else:
		print "I do not know what you mean by that I do not know that...."

def run():
	while True:
		opt = showMenu()
		if opt == "5":
			wait_for_user()
			exit()
			wait_for_user()
		drawShape(bob, opt)
		
bob.pu()
bob.fd(650)
bob.fd(100)
bob.pd()		
run()


		
		

